package com.yungu.swift.order.model.dto;

import com.yungu.swift.base.model.BaseDto;

import java.math.BigDecimal;


/**
 * Copyright © 厦门云谷互联信息有限公司 2018-2020 All Right Reserved
 * 订单操作日志
 *
 * @author Zerrion
 * @version 1.0.0-RELEASE
 * @since 2018-07-03 15:24
 */
public class OrderOperateLogDto extends BaseDto {

    /**
     * 1.正常状态 2.后台改派 3.后台调整金额 4.后台关闭
     **/
    public final static int TYPE_NORMAL = 1;
    public final static int TYPE_ASS = 2;
    public final static int TYPE_ADJUST = 3;
    public final static int TYPE_CLOSE = 4;

    /**
     * 订单uuid
     **/
    private String orderUuid;

    /**
     * 状态：1.正常状态，2.后台改派，3.后台调整金额，4.后台关闭
     **/
    private Integer type;

    /**
     * 操作前：订单主状态1：订单初识化,2订单进行中3：订单结束（待支付）4：支付完成5.取消
     **/
    private Integer preMainStatus;

    /**
     * 操作前：订单子状态(100.等待应答（拼车中） 200.等待接驾-预约 201.等待接驾-已出发未到达 202.等待接驾-已到达 210.出发接乘客 220.司机到达等待乘客 300.行程开始 301到达目的地400.待支付 500.已完成(待评价) 501.已完成-已评价 600.取消-自主取消 601.取消-后台取消 602.取消-应答前取消)
     **/
    private Integer preSubStatus;

    /**
     * 操作后：订单主状态1：订单初识化,2订单进行中3：订单结束（待支付）4：支付完成5.取消
     **/
    private Integer nowMainStatus;

    /**
     * 操作后：订单子状态(100.等待应答（拼车中） 200.等待接驾-预约 201.等待接驾-已出发未到达 202.等待接驾-已到达 210.出发接乘客 220.司机到达等待乘客 300.行程开始 301到达目的地400.待支付 500.已完成(待评价) 501.已完成-已评价 600.取消-自主取消 601.取消-后台取消 602.取消-应答前取消)
     **/
    private Integer nowSubStatus;

    /**
     * 后台改派前的司机
     **/
    private String preDriverUuid;

    /**
     * 后台改派后的司机
     **/
    private String nowDriverUuid;

    /**
     * 后台调整前的订单费用
     **/
    private BigDecimal preTotalFare;

    /**
     * 后台调整后的订单费用
     **/
    private BigDecimal nowTotalFare;

    /**
     * （后台）调整费用
     **/
    private BigDecimal adjustFare;

    /**
     * 备注/原因
     **/
    private String remark;

    /**
     * 代理商uuid
     **/
    private String agentUuid;

    /**
     * 公司uuid
     **/
    private String companyUuid;

    /**
     * 原因
     **/
    private String reason;

    /**
     * 原里程数（公里）
     **/
    private Double preDistance;
    /**
     * 当前里程数（公里）
     **/
    private Double nowDistance;

    /**
     * 附加字段
     * operationTime 格式化操作时间
     * operationUser 操作人账号
     * adjustOrderFare 订单费用
     * adjustCurrentFare 当前费用
     * reassignPreDriverName 改派司机姓名
     * reassignPreDriverMobile 改派司机电话
     * reassignPrePlateNo 改派车牌
     * reassignPreCarModel 改派车型
     * reassignCurrentDriverName 改派司机姓名
     * reassignCurrentDriverMobile 改派司机电话
     * reassignCurrentPlateNo 改派车牌
     * reassignCurrentCarModel 改派车型
     */
    private String operationTime;
    private String operationUser;
    private String adjustOrderFare;
    private String adjustCurrentFare;
    private String reassignPreDriverName;
    private String reassignPreDriverMobile;
    private String reassignPrePlateNo;
    private String reassignPreCarModel;
    private String reassignCurrentDriverName;
    private String reassignCurrentDriverMobile;
    private String reassignCurrentPlateNo;
    private String reassignCurrentCarModel;


    public String getOrderUuid() {
        return orderUuid;
    }

    public void setOrderUuid(String orderUuid) {
        this.orderUuid = orderUuid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPreMainStatus() {
        return preMainStatus;
    }

    public void setPreMainStatus(Integer preMainStatus) {
        this.preMainStatus = preMainStatus;
    }

    public Integer getPreSubStatus() {
        return preSubStatus;
    }

    public void setPreSubStatus(Integer preSubStatus) {
        this.preSubStatus = preSubStatus;
    }

    public Integer getNowMainStatus() {
        return nowMainStatus;
    }

    public void setNowMainStatus(Integer nowMainStatus) {
        this.nowMainStatus = nowMainStatus;
    }

    public Integer getNowSubStatus() {
        return nowSubStatus;
    }

    public void setNowSubStatus(Integer nowSubStatus) {
        this.nowSubStatus = nowSubStatus;
    }

    public String getPreDriverUuid() {
        return preDriverUuid;
    }

    public void setPreDriverUuid(String preDriverUuid) {
        this.preDriverUuid = preDriverUuid;
    }

    public String getNowDriverUuid() {
        return nowDriverUuid;
    }

    public void setNowDriverUuid(String nowDriverUuid) {
        this.nowDriverUuid = nowDriverUuid;
    }

    public BigDecimal getPreTotalFare() {
        return preTotalFare;
    }

    public void setPreTotalFare(BigDecimal preTotalFare) {
        this.preTotalFare = preTotalFare;
    }

    public BigDecimal getNowTotalFare() {
        return nowTotalFare;
    }

    public void setNowTotalFare(BigDecimal nowTotalFare) {
        this.nowTotalFare = nowTotalFare;
    }

    public BigDecimal getAdjustFare() {
        return adjustFare;
    }

    public void setAdjustFare(BigDecimal adjustFare) {
        this.adjustFare = adjustFare;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAgentUuid() {
        return agentUuid;
    }

    public void setAgentUuid(String agentUuid) {
        this.agentUuid = agentUuid;
    }

    public String getCompanyUuid() {
        return companyUuid;
    }

    public void setCompanyUuid(String companyUuid) {
        this.companyUuid = companyUuid;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(String operationTime) {
        this.operationTime = operationTime;
    }

    public String getOperationUser() {
        return operationUser;
    }

    public void setOperationUser(String operationUser) {
        this.operationUser = operationUser;
    }

    public String getAdjustOrderFare() {
        return adjustOrderFare;
    }

    public void setAdjustOrderFare(String adjustOrderFare) {
        this.adjustOrderFare = adjustOrderFare;
    }

    public String getAdjustCurrentFare() {
        return adjustCurrentFare;
    }

    public void setAdjustCurrentFare(String adjustCurrentFare) {
        this.adjustCurrentFare = adjustCurrentFare;
    }

    public String getReassignPreDriverName() {
        return reassignPreDriverName;
    }

    public void setReassignPreDriverName(String reassignPreDriverName) {
        this.reassignPreDriverName = reassignPreDriverName;
    }

    public String getReassignPreDriverMobile() {
        return reassignPreDriverMobile;
    }

    public void setReassignPreDriverMobile(String reassignPreDriverMobile) {
        this.reassignPreDriverMobile = reassignPreDriverMobile;
    }

    public String getReassignPrePlateNo() {
        return reassignPrePlateNo;
    }

    public void setReassignPrePlateNo(String reassignPrePlateNo) {
        this.reassignPrePlateNo = reassignPrePlateNo;
    }

    public String getReassignPreCarModel() {
        return reassignPreCarModel;
    }

    public void setReassignPreCarModel(String reassignPreCarModel) {
        this.reassignPreCarModel = reassignPreCarModel;
    }

    public String getReassignCurrentDriverName() {
        return reassignCurrentDriverName;
    }

    public void setReassignCurrentDriverName(String reassignCurrentDriverName) {
        this.reassignCurrentDriverName = reassignCurrentDriverName;
    }

    public String getReassignCurrentDriverMobile() {
        return reassignCurrentDriverMobile;
    }

    public void setReassignCurrentDriverMobile(String reassignCurrentDriverMobile) {
        this.reassignCurrentDriverMobile = reassignCurrentDriverMobile;
    }

    public String getReassignCurrentPlateNo() {
        return reassignCurrentPlateNo;
    }

    public void setReassignCurrentPlateNo(String reassignCurrentPlateNo) {
        this.reassignCurrentPlateNo = reassignCurrentPlateNo;
    }

    public String getReassignCurrentCarModel() {
        return reassignCurrentCarModel;
    }

    public void setReassignCurrentCarModel(String reassignCurrentCarModel) {
        this.reassignCurrentCarModel = reassignCurrentCarModel;
    }

    public Double getPreDistance() {
        return preDistance;
    }

    public void setPreDistance(Double preDistance) {
        this.preDistance = preDistance;
    }

    public Double getNowDistance() {
        return nowDistance;
    }

    public void setNowDistance(Double nowDistance) {
        this.nowDistance = nowDistance;
    }
}
